package com.ch.web.entity.user;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author chenHao
 * @email 1429542285@qq.com
 * @date 2022-10-15 13:58:33
 */
@Data
@TableName("xy_talk")
public class XyTalkEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *  主键id
	 */
	@TableId
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	/**
	 * 说说内容
	 */
	private String content;
	/**
	 * 发说说时间
	 */
	private Date createTime;
	/**
	 * 发说说的人
	 */
	private Long userId;
	/**
	 * 浏览次数
	 */
	private Integer count;

}
